<style>
#middle .left-bar .box {
	border:none;
}
div.productBox{
	background:none !important;
	border:1px solid #F2F2F2;
}
.chi-tiet{
	list-style:none;
	margin:0px;
	padding:0px;
	margin-bottom:5px;
}
.chi-tiet li{
	line-height:18px;
}
</style>
<div id="middle" class="gelceuticals">	<div class="title" id="gelceuticalsBody">			
		<h1><?php echo $name_Ct?></h1>
	</div>
	<?php echo  $this->element(left_product)?>
		<div id="productInfo">
		<table class="contentBody" cellpadding="0" cellspacing="0">
            <tr>
                <td class="contentMid" height="500px">
					<div class="content" id="contents" title=""><div style="position: relative; top: -15px; left: 12px;">												
                        <p style="color: rgb(135, 150, 157);"><?php echo $introductions?></p>
					     <p>&nbsp;</p>
                       <?php if($products){
						       foreach($products  as $product){?>
                        <div class="productBox">
                            <div class="productPic"><a href=""><img src="<?php echo DOMAIN?>/<?php echo $product['Product']['images']?>" style="width:59px; height:129px;"  alt=""></a></div>
                            <div class="productInfo">
                             <div style="text-transform: uppercase; font-size: 10px; margin-bottom: 5px;">
                             <?php echo $this->Html->link($product['Product']['name'], array('controller' => 'view_products', 'action' => 'index',$product['Product']['id'],$product['Product']['alias'].'.html'),array('style'=>'text-decoration:none; color:#384F5A;'));?>
                             
                             </div>
                                <div style="height: 65px; color: rgb(135, 150, 157);">
                                <?php echo $this->Text->truncate($product['Product']['introduction'],80,array('ending' => '...','exact' => false)); ?>
                                
                                </div>
                              
                               
                        </div>
                        <div style="clear:both"></div>
                        <br />
                        <ul class="chi-tiet">                        	
                            <li>Giá :<?php echo number_format($product['Product']['cost'])?> &nbsp;VNĐ</li>
                            <li>Mã : <?php echo $product['Product']['code']?> </li>
                            <li>PV :<?php $pv=$product['Product']['cost']/20000; echo $pv; ?></li>
                        </ul>
                        
                        <?php echo $this->Html->link('Xem thêm', array('controller' => 'view_products', 'action' => 'index',$product['Product']['id'],$product['Product']['alias'].'.html'),array('style'=>'text-decoration:none; color:#384F5A;padding-top:20px;'));?>
                        <a href="<?php echo System?>/infors/addcarts/<?php echo $product['Product']['id'] ?>"><img src="<?php echo System?>/img/cart1.png" style="width:35px; height:35px; float:right; padding-right:20px"/></a>
                        </div>
                        <?php }} else { echo ' Sản phẩm đang cập nhật';}?>
			</div>
		</div>
				</td>
			</tr>
		</table>
	</div>
	<span class="clear"></span>
</div>